{% extends "base.html" %}
{% load i18n %}
{% load account %}

{% block title %}{% trans "重置密码" %}{% endblock %}

{% block content %}
<div class="container py-5">
  <div class="row justify-content-center">
    <div class="col-md-6">
      <div class="card shadow">
        <div class="card-header bg-success text-white">
          <h1 class="h4 mb-0">{% trans "重置密码" %}</h1>
        </div>
        <div class="card-body">
          {% if user.is_authenticated %}
          {% include "account/snippets/already_logged_in.html" %}
          {% endif %}

          <p>{% blocktrans %}我们已经向您发送了一封电子邮件。如果您没有收到，请确认您输入的电子邮件地址是否正确，并检查您的垃圾邮件文件夹。{% endblocktrans %}</p>

          <div class="text-center mt-3">
            <a href="{% url 'home' %}" class="btn btn-primary">{% trans "返回首页" %}</a>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}

